<!DOCTYPE html>
<html>
<head>
    <title>首页 {$site_info.site_name|default=''}</title>
    <meta name="keywords" content="{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$site_info.site_seo_description|default=''}">
    <include file="public@head"/>

    <link href="__TMPL__/public/assets/simpleboot3/themes/simpleboot3/bootstrap.min.css" rel="stylesheet">
    <link href="__TMPL__/public/assets/css/tube.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/js/layui/css/layui.css" media="all">
    <link href="__TMPL__/public/assets/css/user-center.css" rel="stylesheet">
    <hook name="before_head_end"/>
</head>
<body class="body-white" style="background: #ECEEEE;">
<include file="public@nav_new"/>

        <!--  我的应用左侧 -->
<div class="col-sm-2 pad-left_right tube-left1">
    <a href="{:cmf_url('user/tube/index')}">
        <div class="col-sm-12 tube-lgs tube-bgs"><i class="fa"><img src="__TMPL__/public/assets/images/summarya.png"></i><span>概述</span></div>
    </a>
    <a href="/user/profile/center.html">
        <div class="col-sm-12 tube-lyy tube-bgs">
            <i class="fa"><img src="__TMPL__/public/assets/images/me.png"></i><span>个人中心</span>
        </div>
        
    </a>
    <!-- <a href="/portal/index/posted">
        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa fa-plus-circle"></i><span>发布应用</span></div>
    </a> -->
    <a href="/portal/posted/index">
        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa"><img src="__TMPL__/public/assets/images/publish.png"></i><span>内测分发应用</span></div>
    </a>
    <a href="/portal/posted/supindex">
        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa"><img src="__TMPL__/public/assets/images/qianming.png"></i><span>超级签名应用</span></div>
    </a>
    <a href="/user/certificate/index">
        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa"><img src="__TMPL__/public/assets/images/summary.png"></i><span>证书管理</span>
        </div>
        <div class="user-center">
            <div class="user-center-c">
                <a href="/user/certificate/index">证书管理</a>
            </div>
            <div>
                <a href="/user/certificate/add_certificate">添加证书</a>
            </div>
            
            
            
        </div>
    </a>
    <!--todo 暂时没想好什么作用-->
    <!--    <a href="/user/tube/editor/id/0.html">-->
    <!--        <div class="col-sm-12 tube-lyy tube-bgs"><i class="fa fa-plus-circle"></i><span>发布空应用</span></div>-->
    <!--    </a>-->
    <div class="col-sm-12 tube-bor"></div>
    
</div>


    <!--  我的应用右侧 概述 -->
    <div class="col-sm-10 pad-left_right tube-right ">
        <!--     应用管理详情 -->
        <div class="user-left-top" style="margin-top: 20px;">
            <p>证书管理 > <span class="span-c">证书管理</span></p>
        </div>
        <div class="certificate-table">
            <table class="table">
                <thead style="margin-top: 20px;background: #F5F9F9;width: 96%;">
                    <tr>
                    <td>ID</td>
                    <td>证书备注</td>
                    <td>剩余可测试数量</td>
                    <td>已绑定UDID数量</td>
                    <td>状态</td>
                    <td>添加时间</td>
                    <td>操作</td>
                     </tr>
                </thead>
                <tbody>
                <foreach name="list" item="vo">
                    <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.mark}</td>
                    <td>{$vo.limit_count}</td>
                    <td>{$vo.total_count}</td>
                    <td>
                    <if condition="$vo['status'] eq 1">
                        <font color="green">启用</font>
                        <elseif condition="$vo['status'] eq 0"/>
                        <font color="red">未启用</font>
                    </if>
                    </td>
                    <td>{:date('Y-m-d H:i:s',$vo['create_time'])}</td>
                    <td>
                        <a class="bogo-global-btn" href="/user/certificate/edit_certificate">编辑</a>
                        <button class="bogo-global-del-btn" >删除</button>
                    </td>
                    </tr>
                </foreach>

                </tbody>
            </table>
        </div>
    </div>

    <include file="public@scripts"/>
    <script src="__TMPL__/public/assets/js/slippry.min.js"></script>
    <script src="/static/js/layer/layer.js"></script>

    <hook name="before_body_end"/>
</div>
</body>
</html>
